﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace MyFeer.Widget.Grid.Cell
{
    public class CellContent
    {
        private String formatSting;
        private String editString;
        private String displayString;
        /// <summary>
        /// 编辑字符串
        /// </summary>
        public String EditString
        {
            get { return editString; }
            set { editString = value; }
        }
        /// <summary>
        /// 显示的字符串
        /// </summary>
        public String DisplayString
        {
            get 
            {
                if (this.displayString != null && this.displayString != "")
                    return displayString;
                else
                    return this.editString;
            }
            set { displayString = value; }
        }
    }
}
